package com.itheima.modifier1;

import com.itheima.modifier.Father;

public class Demo {

    public static void main(String[] args) {

        //其他包的普通类
        Father father = new Father();
        //father.privateMethod();     //报错
        //father.defaultMethod();     //报错
        //father.protectedMethod();   //报错
        father.publicMethod();
    }
}
